package JUC;

public class Test1 {
    public static void main(String[] args) {
        //获取CPU的核数
        //CPU密集型 IO密集型
        System.out.println(Runtime.getRuntime().availableProcessors());
//        TimeUnit.DAYS.sleep();调用工具类使用sleep
    }

    public static class Phone {
    }
}
